import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'


import axios from 'axios';
import VueAxios from 'vue-axios';
// axios  全局设置 （process.env.VUE_APP_URL 新建文件中的地址）
axios.defaults.baseURL = process.env.VUE_APP_URL;
Vue.use(VueAxios, axios);

import { Tabbar, TabbarItem } from 'vant';
Vue.use(Tabbar);
Vue.use(TabbarItem);

import { Icon } from 'vant';

Vue.use(Icon);
//nav标签栏
import { Tab, Tabs } from 'vant';

Vue.use(Tab);
Vue.use(Tabs);

import { Tag } from 'vant';

Vue.use(Tag);


import { Search } from 'vant';

Vue.use(Search);


// import { Cell, CellGroup } from 'vant';
//
// Vue.use(Cell);
// Vue.use(CellGroup);

import { Slider } from 'vant';

Vue.use(Slider);
Vue.config.productionTip = false

new Vue({
  axios,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
